package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.LingyongConfrimSL;

public interface LingyongConfrimSLRepository extends JpaRepository<LingyongConfrimSL, Long> {

    List<LingyongConfrimSL> findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<LingyongConfrimSL> findAllByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);

    List<LingyongConfrimSL> findByWorkOrderNum(String workOrderNum);

    List<LingyongConfrimSL> findByWorkOrderNumOrderByIdDesc(String workOrderNum);

}
